package com.wootion.dizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 配置信息表
 */
@Data
@TableName(value = "configuration")
@ApiModel(value = "配置信息表")
public class Configuration implements Serializable {

    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "主键id")
    private String id;
    /**
     * 设备号
     */
    @ApiModelProperty(value = "设备号")
    private String deviceNo;

    @NotBlank(message = "实验次序(样品编号)不能为空")
    @ApiModelProperty(value = "实验次序")
    private String experiment;

    @NotBlank(message = "实验日期不能为空")
    @ApiModelProperty(value = "实验日期")
    private String period;

    @NotBlank(message = "t1启钻时间不能为空")
    @ApiModelProperty(value = "t1启钻时间")
    private String t1BitStartTime;

    @NotBlank(message = "t2停钻时间不能为空")
    @ApiModelProperty(value = "t2停钻时间")
    private String t2BitEndTime;

    @NotBlank(message = "t3岩心桶到达地面时间不能为空")
    @ApiModelProperty(value = "t3岩心桶到达地面时间")
    private String t3CoreArrived;

    @NotBlank(message = "t4岩芯取出时间不能为空")
    @ApiModelProperty(value = "t4岩芯取出时间")
    private String t4GetBack;

    @NotBlank(message = "t5岩芯密封时间不能为空")
    @ApiModelProperty(value = "t5岩芯密封时间")
    private String t5Seal;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "数据文件")
    private String dataFile;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "地址")
    @NotBlank(message = "地址不能为空")
    private String address;

    @ApiModelProperty(value = "取芯次数")
    private String qXnumber;

    @ApiModelProperty(value = "层位")
    private String CW;

    @ApiModelProperty(value = "取芯深度")
    private String qQXD;

    @ApiModelProperty(value = "样品重量")
    private String yPZL;

    @ApiModelProperty(value = "样品深度")
    private String ypsd;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "配置类型id")
    private String configTypeId;

    @ApiModelProperty(value = "数据数量(无量缸导入数量)")
    private Integer exportNumber;
}
